package dancrawler.client.gamecmd;

import dancrawler.client.Client;
import dancrawler.proto.cmd.CmdHandler;
import dancrawler.server.netMsg;

public class CmdClearMap extends CmdHandler {
    private Client client;
    
    public CmdClearMap(Client client)
    {
        this.client = client;
    }
    @Override
    public void handleCmd(netMsg msg) {
        client.getRec().clearMap();
    }

    @Override
    public int getId() {
        return 24;
    }

    @Override
    public CmdHandler getHandler() {
        return this;
    }
    
}
